package objects;

import java.io.File;

public abstract class Instructor {
	private String sName;

	private String sEmailAddress;
	private String sCompany;
	private String sPhoneNumber;
	private byte bPhoto;
	
	public Instructor(){
		sName = "";
		sEmailAddress = "";
		sCompany = "";
		sPhoneNumber = "";
		bPhoto = (Byte) null;
	}
	
	public Instructor(String Name){
		sName = Name;
		sEmailAddress = "";
		sCompany = "";
		sPhoneNumber = "";
		bPhoto = (Byte) null;
	}
	public Instructor(String Name, String emailAddress){
		sName = Name;
		sEmailAddress = emailAddress;
		sCompany = "";
		sPhoneNumber = "";
		bPhoto = (Byte) null;
	}
	
	public Instructor(String Name, String emailAddress, String phoneNumber){
		sName = Name;
		sEmailAddress = emailAddress;
		sPhoneNumber = phoneNumber;
		sCompany = "";
		bPhoto = (Byte) null;
	}
	
	public void setName(String name){sName = name;}
	public void setEmail(String email){sEmailAddress = email;}
	public void setPhone(String phone){sPhoneNumber = phone;}
	public void setCompany(String company){sCompany = company;}
	public void setPhoto(String fileName){
		File fp = new File(fileName);
		if (fp.exists() && fp.canRead()){
			
		}		
	}
	
	public String getName(){return sName;}
	public String getEmail(){return sEmailAddress;}
	public String getPhone(){return sPhoneNumber;}
	public String getCompany(){return sCompany;}
	public byte getPhoto(String fileName){ return (Byte)null;}
	
	public void teachClass(VirtualClass virClass){
		
	}
	
	public void sendEmail(){
		
	}
}
